<template>
	<view class="order-manage">
		<!-- 顶部搜索及筛选区域 -->
		<view class="top-bar">
			<view class="cardform" labelPosition="left">
				<view style="display: flex;margin-top: 20rpx;gap: 100rpx;">
					<view style="margin-top: 15rpx;">标题：</view>
					<view style="margin-top: 15rpx;">{{activitydetail.title}}</view>
				</view>
				<view style="display: flex;margin-top: 20rpx;gap: 75rpx;">
					<view style="margin-top: 15rpx;">发布人：</view>
					<view style="margin-top: 15rpx;">{{activitydetail.author}}</view>
				</view>
				<view style="display: flex;margin-top: 20rpx;gap: 50rpx;">
					<view style="margin-top: 15rpx;">发布时间：</view>
					<view style="margin-top: 15rpx;">{{activitydetail.time}}</view>
				</view>
				<view style="display: flex;margin-top: 20rpx;gap: 50rpx;">
					<view style="margin-top: 15rpx;">审核状态：</view>
					<view style="margin-top: 15rpx;">{{activitydetail.status}}</view>
				</view>
				<view style="display: flex;margin-top: 20rpx;gap: 50rpx;">
					<view style="margin-top: 15rpx;">审核时间：</view>
					<view style="margin-top: 15rpx;">{{activitydetail.reviewtime}}</view>
				</view>
				<view style="display: flex;margin-top: 20rpx;gap: 50rpx;">
					<view style="margin-top: 15rpx;">审核说明：</view>
					<view style="margin-top: 15rpx;">{{activitydetail.reviewintroduce}}</view>
				</view>
			</view>
			<view class="cardform">
				<view style="display: flex;margin-top: 20rpx;gap: 0rpx;">
					<view style="margin-top: 15rpx;width: 500rpx;">发布内容：</view>
					<view style="margin-top: 15rpx;">{{activitydetail.context}}</view>
				</view>
				<view style="display: flex;margin-top: 20rpx;gap: 0rpx;">
					<view style="margin-top: 15rpx;width: 170rpx;">图片：</view>
					<image src="../../img/00主页03_slices/扫码@3x.png" style="width:200rpx;height: 200rpx;margin-right: 50rpx;"></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
    import {
    	get,
    	post
    } from '../../utils/request.js'
	export default {
		data() {
			return {
				activitydetail:{
					title:"洗车优惠活动开始领取了",
					author:"大美汽修",                                 
					time:"2023/03/10 11:09",
			        status:"待审核",
					reviewtime:"2023/03/10 15:09",
					reviewintroduce:"",
					context:"活动内容活动内容活动内容活动内容活动内容活动内容活动内容活动内容活动内容活动内容活动内容活动内容",
					image:"",
				}
			}
		},
		methods: {
			
		},
		async onLoad() {
			// uni.request({
			// 	url:"http://localhost/dev-api/system/merchant/list",
			// 	header: {
			// 	  'Content-Type': 'application/json',
			// 	  'Authorization':"Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX2tleSI6IjA2MzlkZjhhLWY4NDItNDU2ZS04MmFiLWEwODJjNGYyZGViNiIsInVzZXJuYW1lIjoiYWRtaW4ifQ.U1Eyt4xv2iVrTW7L48bSAqDzZmGwZsh_wbpf69h9rMWqDh4tTwJynbzeKzm_SocNd_hSUozypUbX9YpicR9WAg"
			// 	},
			// 	success:(res)=> {
			// 		console.log(res.data.rows)
			// 	}
			// })
			// uni.setStorageSync('token', "Bearer eyJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VyX2tleSI6IjA2MzlkZjhhLWY4NDItNDU2ZS04MmFiLWEwODJjNGYyZGViNiIsInVzZXJuYW1lIjoiYWRtaW4ifQ.U1Eyt4xv2iVrTW7L48bSAqDzZmGwZsh_wbpf69h9rMWqDh4tTwJynbzeKzm_SocNd_hSUozypUbX9YpicR9WAg");
			// const res = await get('/dev-api/system/merchant/list', {})
			// console.log(res)
		}
	}
</script>

<style>
.order-manage {
		background-color: #f5f5f5;
		min-height: 100vh;
		height: 0rpx;
	}

	/* 顶部搜索及筛选 */
	.top-bar {
		padding: 10px;
		background-color: #2979ff;
		height: 200rpx;
	}

	.cardform {
		width: 90%;
		padding-left: 5%;
		padding-right: 5%;
		border-radius: 15rpx;
		padding-top: 15rpx;
		background-color: white;
		padding-bottom: 30rpx;
		margin-bottom: 30rpx;
	}
</style>
